﻿<!DOCTYPE html>
<!--[if IE]><![endif]-->
<html>
  
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>Class StringTable
   </title>
    <meta name="viewport" content="width=device-width">
    <meta name="title" content="Class StringTable
   ">
    <meta name="generator" content="docfx 2.56.4.0">
    
    <link rel="shortcut icon" href="../favicon.ico">
    <link rel="stylesheet" href="../styles/docfx.vendor.css">
    <link rel="stylesheet" href="../styles/docfx.css">
    <link rel="stylesheet" href="../styles/main.css">
    <meta property="docfx:navrel" content="../toc.html">
    <meta property="docfx:tocrel" content="toc.html">
    
    
    
  </head>
  <body data-spy="scroll" data-target="#affix" data-offset="120">
    <div id="wrapper">
      <header>
        
        <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
          <div class="container">
            <div class="navbar-header">
              <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
              </button>
              
              <a class="navbar-brand" href="../index.html">
                <img id="logo" class="svg" src="../logo.svg" alt="">
              </a>
            </div>
            <div class="collapse navbar-collapse" id="navbar">
              <form class="navbar-form navbar-right" role="search" id="search">
                <div class="form-group">
                  <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
                </div>
              </form>
            </div>
          </div>
        </nav>
        
        <div class="subnav navbar navbar-default">
          <div class="container hide-when-search" id="breadcrumb">
            <ul class="breadcrumb">
              <li></li>
            </ul>
          </div>
        </div>
      </header>
      <div role="main" class="container body-content hide-when-search">
        
        <div class="sidenav hide-when-search">
          <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
          <div class="sidetoggle collapse" id="sidetoggle">
            <div id="sidetoc"></div>
          </div>
        </div>
        <div class="article row grid-right">
          <div class="col-md-10">
            <article class="content wrap" id="_content" data-uid="CADability.UserInterface.StringTable">
  
  
  <h1 id="CADability_UserInterface_StringTable" data-uid="CADability.UserInterface.StringTable" class="text-break">Class StringTable
  </h1>
  <div class="markdown level0 summary"><p>StringTable is a class that returns language dependent strings from (hard-coded)
string IDs. All language dependent user interface texts are processed here.
CADability contains an XML file as a primary string resource, containing all user
interface texts in German and English language.
You can Add more strings and more languages by calling <a class="xref" href="CADability.UserInterface.StringTable.html#CADability_UserInterface_StringTable_AddStrings_System_IO_Stream_">AddStrings(Stream)</a>,
or by simply providing an XML file named &quot;CADability.StringTable.xxx.xml&quot; (where xxx
stands for any language or application specific abbreviation) in the directory where
CADability.dll is located.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><span class="xref">System.Object</span></div>
    <div class="level1"><span class="xref">StringTable</span></div>
  </div>
  <div class="inheritedMembers">
    <h5>Inherited Members</h5>
    <div>
      <span class="xref">System.Object.Equals(System.Object)</span>
    </div>
    <div>
      <span class="xref">System.Object.Equals(System.Object, System.Object)</span>
    </div>
    <div>
      <span class="xref">System.Object.GetHashCode()</span>
    </div>
    <div>
      <span class="xref">System.Object.GetType()</span>
    </div>
    <div>
      <span class="xref">System.Object.MemberwiseClone()</span>
    </div>
    <div>
      <span class="xref">System.Object.ReferenceEquals(System.Object, System.Object)</span>
    </div>
    <div>
      <span class="xref">System.Object.ToString()</span>
    </div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="CADability.UserInterface.html">CADability.UserInterface</a></h6>
  <h6><strong>Assembly</strong>: CADability.dll</h6>
  <h5 id="CADability_UserInterface_StringTable_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class StringTable</code></pre>
  </div>
  <h3 id="properties">Properties
  </h3>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_UserInterface_StringTable_ActiveLanguage.md&amp;value=---%0Auid%3A%20CADability.UserInterface.StringTable.ActiveLanguage%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/StringTable.cs/#L130">View Source</a>
  </span>
  <a id="CADability_UserInterface_StringTable_ActiveLanguage_" data-uid="CADability.UserInterface.StringTable.ActiveLanguage*"></a>
  <h4 id="CADability_UserInterface_StringTable_ActiveLanguage" data-uid="CADability.UserInterface.StringTable.ActiveLanguage">ActiveLanguage</h4>
  <div class="markdown level1 summary"><p>Gets or sets the active language</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static string ActiveLanguage { get; set; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.String</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
  </h3>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_UserInterface_StringTable_AddString_System_String_System_String_CADability_UserInterface_StringTable_Category_System_String_.md&amp;value=---%0Auid%3A%20CADability.UserInterface.StringTable.AddString(System.String%2CSystem.String%2CCADability.UserInterface.StringTable.Category%2CSystem.String)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/StringTable.cs/#L165">View Source</a>
  </span>
  <a id="CADability_UserInterface_StringTable_AddString_" data-uid="CADability.UserInterface.StringTable.AddString*"></a>
  <h4 id="CADability_UserInterface_StringTable_AddString_System_String_System_String_CADability_UserInterface_StringTable_Category_System_String_" data-uid="CADability.UserInterface.StringTable.AddString(System.String,System.String,CADability.UserInterface.StringTable.Category,System.String)">AddString(String, String, StringTable.Category, String)</h4>
  <div class="markdown level1 summary"><p>Adds the strings of the given xml document to the string table.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static void AddString(string language, string resourceID, StringTable.Category cat, string text)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.String</span></td>
        <td><span class="parametername">language</span></td>
        <td><p>the language of the string</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.String</span></td>
        <td><span class="parametername">resourceID</span></td>
        <td><p>the ID of the string</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="CADability.UserInterface.StringTable.Category.html">StringTable.Category</a></td>
        <td><span class="parametername">cat</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.String</span></td>
        <td><span class="parametername">text</span></td>
        <td><p>the string</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 id="CADability_UserInterface_StringTable_AddString_System_String_System_String_CADability_UserInterface_StringTable_Category_System_String__remarks">Remarks</h5>
  <div class="markdown level1 remarks"><p>See file &quot;StringTable.xml&quot; for the required xml schema.</p>
</div>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_UserInterface_StringTable_AddStrings_System_IO_Stream_.md&amp;value=---%0Auid%3A%20CADability.UserInterface.StringTable.AddStrings(System.IO.Stream)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/StringTable.cs/#L86">View Source</a>
  </span>
  <a id="CADability_UserInterface_StringTable_AddStrings_" data-uid="CADability.UserInterface.StringTable.AddStrings*"></a>
  <h4 id="CADability_UserInterface_StringTable_AddStrings_System_IO_Stream_" data-uid="CADability.UserInterface.StringTable.AddStrings(System.IO.Stream)">AddStrings(Stream)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static void AddStrings(Stream str)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.IO.Stream</span></td>
        <td><span class="parametername">str</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_UserInterface_StringTable_AddStrings_System_Xml_XmlDocument_.md&amp;value=---%0Auid%3A%20CADability.UserInterface.StringTable.AddStrings(System.Xml.XmlDocument)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/StringTable.cs/#L92">View Source</a>
  </span>
  <a id="CADability_UserInterface_StringTable_AddStrings_" data-uid="CADability.UserInterface.StringTable.AddStrings*"></a>
  <h4 id="CADability_UserInterface_StringTable_AddStrings_System_Xml_XmlDocument_" data-uid="CADability.UserInterface.StringTable.AddStrings(System.Xml.XmlDocument)">AddStrings(XmlDocument)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static void AddStrings(XmlDocument doc)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Xml.XmlDocument</span></td>
        <td><span class="parametername">doc</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_UserInterface_StringTable_Dispose.md&amp;value=---%0Auid%3A%20CADability.UserInterface.StringTable.Dispose%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/StringTable.cs/#L403">View Source</a>
  </span>
  <a id="CADability_UserInterface_StringTable_Dispose_" data-uid="CADability.UserInterface.StringTable.Dispose*"></a>
  <h4 id="CADability_UserInterface_StringTable_Dispose" data-uid="CADability.UserInterface.StringTable.Dispose">Dispose()</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static void Dispose()</code></pre>
  </div>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_UserInterface_StringTable_GetFormattedString_System_String_System_Object___.md&amp;value=---%0Auid%3A%20CADability.UserInterface.StringTable.GetFormattedString(System.String%2CSystem.Object%5B%5D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/StringTable.cs/#L328">View Source</a>
  </span>
  <a id="CADability_UserInterface_StringTable_GetFormattedString_" data-uid="CADability.UserInterface.StringTable.GetFormattedString*"></a>
  <h4 id="CADability_UserInterface_StringTable_GetFormattedString_System_String_System_Object___" data-uid="CADability.UserInterface.StringTable.GetFormattedString(System.String,System.Object[])">GetFormattedString(String, Object[])</h4>
  <div class="markdown level1 summary"><p>Returns a formatted string. The string with the ID &quot;Name&quot; from the string resource
is formatted by substituting the {0}, {1} ... substring with the string values
of the args objects.
If there is a formatting error, the unformatted string will be returned.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static string GetFormattedString(string Name, params object[] args)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.String</span></td>
        <td><span class="parametername">Name</span></td>
        <td><p>Name or ID of the string</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Object</span>[]</td>
        <td><span class="parametername">args</span></td>
        <td><p>Variable number of arguments for formatting</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.String</span></td>
        <td><p>The formatted string</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_UserInterface_StringTable_GetLanguageNames.md&amp;value=---%0Auid%3A%20CADability.UserInterface.StringTable.GetLanguageNames%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/StringTable.cs/#L359">View Source</a>
  </span>
  <a id="CADability_UserInterface_StringTable_GetLanguageNames_" data-uid="CADability.UserInterface.StringTable.GetLanguageNames*"></a>
  <h4 id="CADability_UserInterface_StringTable_GetLanguageNames" data-uid="CADability.UserInterface.StringTable.GetLanguageNames">GetLanguageNames()</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static string[] GetLanguageNames()</code></pre>
  </div>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.String</span>[]</td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_UserInterface_StringTable_GetSplittedStrings_System_String_.md&amp;value=---%0Auid%3A%20CADability.UserInterface.StringTable.GetSplittedStrings(System.String)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/StringTable.cs/#L347">View Source</a>
  </span>
  <a id="CADability_UserInterface_StringTable_GetSplittedStrings_" data-uid="CADability.UserInterface.StringTable.GetSplittedStrings*"></a>
  <h4 id="CADability_UserInterface_StringTable_GetSplittedStrings_System_String_" data-uid="CADability.UserInterface.StringTable.GetSplittedStrings(System.String)">GetSplittedStrings(String)</h4>
  <div class="markdown level1 summary"><p>Returns an array of strings from the string table. The array is created from a single
entry in the string table. The first character of this entry is the separator and
the remaining string is splitted by this separator.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static string[] GetSplittedStrings(string Name)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.String</span></td>
        <td><span class="parametername">Name</span></td>
        <td><p>Name or ID of the string</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.String</span>[]</td>
        <td><p>The exploded string</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_UserInterface_StringTable_GetString_System_String_.md&amp;value=---%0Auid%3A%20CADability.UserInterface.StringTable.GetString(System.String)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/StringTable.cs/#L284">View Source</a>
  </span>
  <a id="CADability_UserInterface_StringTable_GetString_" data-uid="CADability.UserInterface.StringTable.GetString*"></a>
  <h4 id="CADability_UserInterface_StringTable_GetString_System_String_" data-uid="CADability.UserInterface.StringTable.GetString(System.String)">GetString(String)</h4>
  <div class="markdown level1 summary"><p>--- Depricated --- use GetString(string, Category) instead.
Returns the string with the given ID in the <a class="xref" href="CADability.UserInterface.StringTable.html#CADability_UserInterface_StringTable_ActiveLanguage">ActiveLanguage</a>. If the there is no
appropriate entry in the ActiveLanguage then the default language is searched. If there is still no
entry
&quot;missing string: &quot;+Name is returned.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static string GetString(string Name)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.String</span></td>
        <td><span class="parametername">Name</span></td>
        <td><p>Name or ID of the string</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.String</span></td>
        <td><p>the value of the string entry</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_UserInterface_StringTable_GetString_System_String_CADability_UserInterface_StringTable_Category_.md&amp;value=---%0Auid%3A%20CADability.UserInterface.StringTable.GetString(System.String%2CCADability.UserInterface.StringTable.Category)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/StringTable.cs/#L222">View Source</a>
  </span>
  <a id="CADability_UserInterface_StringTable_GetString_" data-uid="CADability.UserInterface.StringTable.GetString*"></a>
  <h4 id="CADability_UserInterface_StringTable_GetString_System_String_CADability_UserInterface_StringTable_Category_" data-uid="CADability.UserInterface.StringTable.GetString(System.String,CADability.UserInterface.StringTable.Category)">GetString(String, StringTable.Category)</h4>
  <div class="markdown level1 summary"><p>Returns the string with the given ID and the given <a class="xref" href="CADability.UserInterface.StringTable.Category.html">StringTable.Category</a>in the <a class="xref" href="CADability.UserInterface.StringTable.html#CADability_UserInterface_StringTable_ActiveLanguage">ActiveLanguage</a>. If the there is no
appropriate entry in the ActiveLanguage then the default language is searched. If there is still no
entry
&quot;missing string: &quot;+Name is returned.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static string GetString(string Name, StringTable.Category cat)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.String</span></td>
        <td><span class="parametername">Name</span></td>
        <td><p>Name or ID of the string</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="CADability.UserInterface.StringTable.Category.html">StringTable.Category</a></td>
        <td><span class="parametername">cat</span></td>
        <td><p>the Category of the required string</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.String</span></td>
        <td><p>the value of the string entry</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_UserInterface_StringTable_IsStringDefined_System_String_.md&amp;value=---%0Auid%3A%20CADability.UserInterface.StringTable.IsStringDefined(System.String)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/StringTable.cs/#L205">View Source</a>
  </span>
  <a id="CADability_UserInterface_StringTable_IsStringDefined_" data-uid="CADability.UserInterface.StringTable.IsStringDefined*"></a>
  <h4 id="CADability_UserInterface_StringTable_IsStringDefined_System_String_" data-uid="CADability.UserInterface.StringTable.IsStringDefined(System.String)">IsStringDefined(String)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static bool IsStringDefined(string Name)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.String</span></td>
        <td><span class="parametername">Name</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_UserInterface_StringTable_SetActiveLanguage_System_Int32_.md&amp;value=---%0Auid%3A%20CADability.UserInterface.StringTable.SetActiveLanguage(System.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/StringTable.cs/#L368">View Source</a>
  </span>
  <a id="CADability_UserInterface_StringTable_SetActiveLanguage_" data-uid="CADability.UserInterface.StringTable.SetActiveLanguage*"></a>
  <h4 id="CADability_UserInterface_StringTable_SetActiveLanguage_System_Int32_" data-uid="CADability.UserInterface.StringTable.SetActiveLanguage(System.Int32)">SetActiveLanguage(Int32)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static void SetActiveLanguage(int index)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">index</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h3 id="events">Events
  </h3>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_UserInterface_StringTable_ActiveLanguageChangedEvent.md&amp;value=---%0Auid%3A%20CADability.UserInterface.StringTable.ActiveLanguageChangedEvent%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/StringTable.cs/#L150">View Source</a>
  </span>
  <h4 id="CADability_UserInterface_StringTable_ActiveLanguageChangedEvent" data-uid="CADability.UserInterface.StringTable.ActiveLanguageChangedEvent">ActiveLanguageChangedEvent</h4>
  <div class="markdown level1 summary"><p>Event which is fired when the active languae of the user interface is changed</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static event StringTable.ActiveLanguageChangedDelegate ActiveLanguageChangedEvent</code></pre>
  </div>
  <h5 class="eventType">Event Type</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.UserInterface.StringTable.ActiveLanguageChangedDelegate.html">StringTable.ActiveLanguageChangedDelegate</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
</article>
          </div>
          
          <div class="hidden-sm col-md-2" role="complementary">
            <div class="sideaffix">
              <div class="contribution">
                <ul class="nav">
                  <li>
                    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_UserInterface_StringTable.md&amp;value=---%0Auid%3A%20CADability.UserInterface.StringTable%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" class="contribution-link">Improve this Doc</a>
                  </li>
                  <li>
                    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/StringTable.cs/#L22" class="contribution-link">View Source</a>
                  </li>
                </ul>
              </div>
              <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
                <h5>In This Article</h5>
                <div></div>
              </nav>
            </div>
          </div>
        </div>
      </div>
      
      <footer>
        <div class="grad-bottom"></div>
        <div class="footer">
          <div class="container">
            <span class="pull-right">
              <a href="#top">Back to top</a>
            </span>
            
            <span>Generated by <strong>DocFX</strong></span>
          </div>
        </div>
      </footer>
    </div>
    
    <script type="text/javascript" src="../styles/docfx.vendor.js"></script>
    <script type="text/javascript" src="../styles/docfx.js"></script>
    <script type="text/javascript" src="../styles/main.js"></script>
  </body>
</html>
